Don't link build scripts dynamically
authorAlex Crichton <alex@alexcrichton.com>
Tue, 1 Sep 2015 02:49:41 +0000 (19:49 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 1 Sep 2015 03:14:06 +0000 (20:14 -0700)
commit13d509407fe8808aed2f60b46dc6ecf13465107f
tree38b97fa5578fcc6b161b37283e5339cc695bb7f6
parent6097937f0b0c3fcbe3f95d4be22b307559d259ec
Don't link build scripts dynamically

There's no real reason to eagerly link build scripts dynamically as they're not
going to benefit that much from dynamic linking. Most of the time they only have
one dynamic dependency, libstd, and most other Rust programs don't link it
dynamically so there's not really many space savings either.
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile_custom_build.rs